//
//  ProcedureCallRequest.h
//  Nurse
//
//  Created by 夏 申频 on 14-1-5.
//  Copyright (c) 2014年 Honeywell. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^RawHandler)(NSData* rawResult,NSError* error);
typedef void (^FailHandler) (NSError* error,NSString* title);
typedef void (^SuccessHandler) (id result);

@interface ProcedureCallRequest : NSObject

@property (nonatomic,copy) NSString* procedureName;
@property (nonatomic,strong) NSDictionary* params;

@property (nonatomic,strong) SuccessHandler successHandle;
@property (nonatomic,strong) FailHandler failHandle;

-(id)parsePRODUCEResponse:(id)response;
//-(NSArray*)parsePRODUCEResult:(id)result;
@end
